package com.yx.enterresourceplanning.service;

import com.yx.enterresourceplanning.entity.User;

public interface UserService {
    //登录
    User login(String username, String password);
    //添加用户
    int addUser(String userId, String name, String username, String password, String depId, String role);
    //根据用户名查询用户
    User findByUsername(String username);
}
